home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / Includes_and_Autodocs_3.5 / include / clib / lowlevel_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-28  |  1.7 KB  |  77 lines

  1. #ifndef  CLIB_LOWLEVEL_PROTOS_H
  2. #define  CLIB_LOWLEVEL_PROTOS_H
  3.  
  4. /*
  5. **    $VER: lowlevel_protos.h 40.1 (17.5.1996)
  6. **
  7. **    C prototypes. For use with 32 bit integers only.
  8. **
  9. **    Copyright © 1999 Amiga, Inc.
  10. **        All Rights Reserved
  11. */
  12.  
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif /* __cplusplus */
  16.  
  17. #ifndef  EXEC_TYPES_H
  18. #include <exec/types.h>
  19. #endif
  20. #ifndef  EXEC_INTERRUPTS_H
  21. #include <exec/interrupts.h>
  22. #endif
  23. #ifndef  UTILITY_TAGITEM_H
  24. #include <utility/tagitem.h>
  25. #endif
  26. #ifndef  DEVICES_TIMER_H
  27. #include <devices/timer.h>
  28. #endif
  29. #ifndef  LIBRARIES_LOWLEVEL_H
  30. #include <libraries/lowlevel.h>
  31. #endif
  32. /*--- functions in V40 or higher (Release 3.1) ---*/
  33.  
  34. /* CONTROLLER HANDLING */
  35.  
  36. ULONG ReadJoyPort( ULONG port );
  37.  
  38. /* LANGUAGE HANDLING */
  39.  
  40. UBYTE GetLanguageSelection( VOID );
  41.  
  42. /* KEYBOARD HANDLING */
  43.  
  44. ULONG GetKey( VOID );
  45. VOID QueryKeys( struct KeyQuery *queryArray, ULONG arraySize );
  46. APTR AddKBInt( CONST APTR intRoutine, CONST APTR intData );
  47. VOID RemKBInt( APTR intHandle );
  48.  
  49. /* SYSTEM HANDLING */
  50.  
  51. ULONG SystemControlA( CONST struct TagItem *tagList );
  52. ULONG SystemControl( Tag firstTag, ... );
  53.  
  54. /* TIMER HANDLING */
  55.  
  56. APTR AddTimerInt( CONST APTR intRoutine, CONST APTR intData );
  57. VOID RemTimerInt( APTR intHandle );
  58. VOID StopTimerInt( APTR intHandle );
  59. VOID StartTimerInt( APTR intHandle, ULONG timeInterval, LONG continuous );
  60. ULONG ElapsedTime( struct EClockVal *context );
  61.  
  62. /* VBLANK HANDLING */
  63.  
  64. APTR AddVBlankInt( CONST APTR intRoutine, CONST APTR intData );
  65. VOID RemVBlankInt( APTR intHandle );
  66.  
  67. /* MORE CONTROLLER HANDLING */
  68.  
  69. BOOL SetJoyPortAttrsA( ULONG portNumber, CONST struct TagItem *tagList );
  70. BOOL SetJoyPortAttrs( ULONG portNumber, Tag firstTag, ... );
  71.  
  72. #ifdef __cplusplus
  73. }
  74. #endif /* __cplusplus */
  75.  
  76. #endif   /* CLIB_LOWLEVEL_PROTOS_H */
  77.